/*===============================================
Copyright (c): Technology Co.,Ltd. ALL rights reserved. 
                                                                 
  Create by: Lin
      Email:
       Date:
   Filename:
Description:
    Version:
Last Change:
                                                                 
=======================================*/
                                                                 
`ifndef MII_SEQ_ITEM_SV
`define MII_SEQ_ITEM_SV

class mii_seq_item extends uvm_sequence_item;
	bit					mii_rx_dv;
	bit			[3:0] 	mii_rx_data;
	rand bit			mii_tx_en;
	rand bit	[3:0] 	mii_tx_data;
	`uvm_object_utils_begin(mii_seq_item);
		`uvm_field_int(mii_rx_dv, UVM_ALL_ON)
		`uvm_field_int(mii_rx_data, UVM_ALL_ON)
		`uvm_field_int(mii_tx_en, UVM_ALL_ON)
		`uvm_field_int(mii_tx_data, UVM_ALL_ON)
	`uvm_object_utils_end

	extern function new(string name = "mii_seq_item");
endclass

function mii_seq_item::new(string name = "mii_seq_item");
	super.new(name);
endfunction

`endif
